import Vue from 'vue';
import VueRouter from 'vue-router';
import Home from './pages/home.vue';

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "home",
    component: Home,
  },
  {
    path: "/qes-vue3/*",
    name: "qes-vue3",
    props: {
      micro: "qes-vue3",
    },
    component: () =>
      import(
        /* webpackChunkName: "qes-vue3" */ "./components/microFe/MicroApp"
      ),
  },
  {
    path: "/qes-vite/*",
    name: "app-vite",
    props: {
      micro: "qes-vite",
    },
    component: () =>
      import(
        /* webpackChunkName: "qes-vite" */ "./components/microFe/MicroApp"
      ),
  },
];

export default routes;
